
echo " ---------------- > 清理 ------------------"
make clean

echo " ---------------- > 编译 ------------------"
make build

echo " ---------------- > 清理nginx目录 ------------------"
rm -rf /usr/share/nginx/html/*

echo " ---------------- > 发布到nginx ------------------"
cp -r dist/* /usr/share/nginx/html/


echo " ---------------- > 重启nginx ------------------"
sudo systemctl restart nginx
